
#ifndef __LIBERTY_ENGINE_POSIXEXCEPTION_H__
#define __LIBERTY_ENGINE_POSIXEXCEPTION_H__

#include <Liberty3D/Liberty3D.h>

#include <stdexcept>

namespace Liberty { namespace Engine {
    class PosixException : public std::runtime_error {
    protected:
        int _errorCode;
        
    public:
        PosixException(int errorCode);
        PosixException(int errorCode, const std::string&);
    };
}}

#endif
